<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="../../layui/css/layui.css" media="all">
</head>
<body>
<span class="layui-breadcrumb">
  <a href="">首页</a>
  <a href="">用户管理</a>
  <a><cite>列表</cite></a>
</span>

<form class="layui-form layui-form-pane1" action="" lay-filter="first">
    <table id="demo" lay-filter="demo"></table>
</form>
<div id="user-info" style="display: none;">
    <form class="layui-form layui-form-pane1" action="" lay-filter="formRoles">
        <div class="layui-form-item">
            <label class="layui-form-label">用户ID</label>
            <div class="layui-input-block">
                <label class="layui-form-label" id="id">1</label>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <label class="layui-form-label" id="username">张三</label>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">启用</label>
            <div class="layui-input-block">
                <label class="layui-form-label" id="enabled">正常</label>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">锁定</label>
            <div class="layui-input-block">
                <label class="layui-form-label" id="locked">正常</label>
            </div>
        </div>
    </form>
</div>
<div id="user-info-update" style="display: none;">
    <form class="layui-form layui-form-pane1" action="" lay-filter="formUpdate">
        <div class="layui-form-item">
            <label class="layui-form-label">用户ID</label>
            <div class="layui-input-block">
                <input type="text" name="id" readonly required  lay-verify="required" placeholder="请输入名字" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">用户名</label>
            <div class="layui-input-block">
                <input type="text" name="username" required  lay-verify="required" placeholder="请输入名字" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">启用</label>
            <div class="layui-input-block">
                <input type="checkbox" name="enabled" lay-skin="switch" value="1" lay-skin="switch" lay-filter="switchEnabled">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">锁定</label>
            <div class="layui-input-block">
                <input type="radio" name="locked" value="1" title="锁定">
                <input type="radio" name="locked" value="0" title="未锁定">
            </div>
        </div>
    </form>
</div>
<script type="text/html" id="barDemo">
<!--    <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">查看</a>-->
<!--    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>-->
<!--    <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>-->
</script>

<script src="../../js/common.js" charset="utf-8"></script>
<script src="../../js/check-login.js"></script>
<script src="../../layui/layui.js" charset="utf-8"></script>
<script src="../../js/sys/user/list.js" charset="utf-8"></script>
<script>
</script>

</body>
</html>